import urllib.request as request

url = "http://placekitten.com/g/500/500"
response = request.urlopen(url)
data = response.read()
print(response.geturl())
print("*"* 100)
print("*"* 100)
print(response.info())
print("-"* 100)
print("-"* 100)
print(response.getcode())
with open('./54/小喵咪.png','wb') as f:
    f.write(data)